package com.cn.chaomeng.dao;

import com.cn.chaomeng.model.Orderfo;
import com.cn.chaomeng.model.example.OrderfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface OrderfoMapper {
    long countByExample(OrderfoExample example);

    int deleteByExample(OrderfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Orderfo record);

    int insertSelective(Orderfo record);

    List<Orderfo> selectByExampleWithRowbounds(OrderfoExample example, RowBounds rowBounds);

    List<Orderfo> selectByExample(OrderfoExample example);

    Orderfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Orderfo record, @Param("example") OrderfoExample example);

    int updateByExample(@Param("record") Orderfo record, @Param("example") OrderfoExample example);

    int updateByPrimaryKeySelective(Orderfo record);

    int updateByPrimaryKey(Orderfo record);
}